package com.example.viewflipperdemo;

import android.content.Context;
import android.util.AttributeSet;
import android.view.MotionEvent;
import android.widget.AdapterViewFlipper;

/**
 * @Description
 * @Author xudan
 * @CreateTime 2024/5/17
 */
public class MyAdapterViewFlipper extends AdapterViewFlipper {
    public MyAdapterViewFlipper(Context context) {
        super(context);
    }

    public MyAdapterViewFlipper(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    public MyAdapterViewFlipper(Context context, AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
    }

    public MyAdapterViewFlipper(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
        super(context, attrs, defStyleAttr, defStyleRes);
    }

    @Override
    public boolean onTouchEvent(MotionEvent ev) {
        super.onTouchEvent(ev);
        return true;
    }
}
